/*
 * @Description: 公共Model
 * @Author: LDM
 * @Date: 2021-09-18 11:29:59
 * @LastEditors: LDM
 * @LastEditTime: 2021-09-18 11:35:59
 */
import type { Result } from '/@/utils/axios/myAxios'

export interface RootObject<T> {
  code: number
  msg: string
  data: T
}
export interface ListResult<T> extends Result {
  data: {
    page: {
      count: number
      total: number
    }
    lists: T[]
  }
}
